package com.zhuo.project.k3.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.zhuo.framework.aspectj.lang.annotation.Excel;
import com.zhuo.framework.web.domain.BaseEntity;

/**
 * 物料条码主档信息对象 zz_material_barcode
 * 
 * @author zhuo
 * @date 2020-04-03
 */
public class ZzMaterialBarcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 条形码 */
    @Excel(name = "条形码")
    private String fbarcode;

    /** 条码规则 */
    @Excel(name = "条码规则")
    private String fbarcoderule;

    /** 条码规则名称 */
    @Excel(name = "条码规则名称")
    private String fbarcoderulename;

    /** 禁用状态 */
    @Excel(name = "禁用状态")
    private Integer fforbidstatus;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String fmaterialid;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String fmaterialname;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String funitid;

    /** 计量单位名称 */
    @Excel(name = "计量单位名称")
    private String funitname;

    /** 数量 */
    @Excel(name = "数量")
    private Double fqty;

    /** 创建日期 */
    @Excel(name = "创建日期")
    private String fcreatedate;

    /** 修改日期 */
    @Excel(name = "修改日期")
    private String fmodifydate;

    /** 创建组织 */
    @Excel(name = "创建组织")
    private String fcreateorgid;

    /** 创建组织名称 */
    @Excel(name = "创建组织名称")
    private String fcreateorgname;

    /** 库存组织 */
    @Excel(name = "库存组织")
    private String fstockorgid;

    /** 库存组织名称 */
    @Excel(name = "库存组织名称")
    private String fstockorgname;

    /** 仓库 */
    @Excel(name = "仓库")
    private String fstockid;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String fstockname;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Double foutqty;

    /** 整箱数量 */
    @Excel(name = "整箱数量")
    private Double fboxqty;

    /** 合格数量 */
    @Excel(name = "合格数量")
    private Double fquaqty;

    /** 基本数量 */
    @Excel(name = "基本数量")
    private Double fbaseqty;

    /** 基本单位 */
    @Excel(name = "基本单位")
    private String fbaseunitid;

    /** 基本单位名称 */
    @Excel(name = "基本单位名称")
    private String fbaseunitname;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String fbillcode;

    /** 防伪码 */
    @Excel(name = "防伪码")
    private String fsecuritycode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFbarcode(String fbarcode) 
    {
        this.fbarcode = fbarcode;
    }

    public String getFbarcode() 
    {
        return fbarcode;
    }
    public void setFbarcoderule(String fbarcoderule) 
    {
        this.fbarcoderule = fbarcoderule;
    }

    public String getFbarcoderule() 
    {
        return fbarcoderule;
    }
    public void setFbarcoderulename(String fbarcoderulename) 
    {
        this.fbarcoderulename = fbarcoderulename;
    }

    public String getFbarcoderulename() 
    {
        return fbarcoderulename;
    }
    public void setFforbidstatus(Integer fforbidstatus) 
    {
        this.fforbidstatus = fforbidstatus;
    }

    public Integer getFforbidstatus() 
    {
        return fforbidstatus;
    }
    public void setFmaterialid(String fmaterialid) 
    {
        this.fmaterialid = fmaterialid;
    }

    public String getFmaterialid() 
    {
        return fmaterialid;
    }
    public void setFmaterialname(String fmaterialname) 
    {
        this.fmaterialname = fmaterialname;
    }

    public String getFmaterialname() 
    {
        return fmaterialname;
    }
    public void setFunitid(String funitid) 
    {
        this.funitid = funitid;
    }

    public String getFunitid() 
    {
        return funitid;
    }
    public void setFunitname(String funitname) 
    {
        this.funitname = funitname;
    }

    public String getFunitname() 
    {
        return funitname;
    }
    public void setFqty(Double fqty) 
    {
        this.fqty = fqty;
    }

    public Double getFqty() 
    {
        return fqty;
    }
    public void setFcreatedate(String fcreatedate) 
    {
        this.fcreatedate = fcreatedate;
    }

    public String getFcreatedate() 
    {
        return fcreatedate;
    }
    public void setFmodifydate(String fmodifydate) 
    {
        this.fmodifydate = fmodifydate;
    }

    public String getFmodifydate() 
    {
        return fmodifydate;
    }
    public void setFcreateorgid(String fcreateorgid) 
    {
        this.fcreateorgid = fcreateorgid;
    }

    public String getFcreateorgid() 
    {
        return fcreateorgid;
    }
    public void setFcreateorgname(String fcreateorgname) 
    {
        this.fcreateorgname = fcreateorgname;
    }

    public String getFcreateorgname() 
    {
        return fcreateorgname;
    }
    public void setFstockorgid(String fstockorgid) 
    {
        this.fstockorgid = fstockorgid;
    }

    public String getFstockorgid() 
    {
        return fstockorgid;
    }
    public void setFstockorgname(String fstockorgname) 
    {
        this.fstockorgname = fstockorgname;
    }

    public String getFstockorgname() 
    {
        return fstockorgname;
    }
    public void setFstockid(String fstockid) 
    {
        this.fstockid = fstockid;
    }

    public String getFstockid() 
    {
        return fstockid;
    }
    public void setFstockname(String fstockname) 
    {
        this.fstockname = fstockname;
    }

    public String getFstockname() 
    {
        return fstockname;
    }
    public void setFoutqty(Double foutqty) 
    {
        this.foutqty = foutqty;
    }

    public Double getFoutqty() 
    {
        return foutqty;
    }
    public void setFboxqty(Double fboxqty) 
    {
        this.fboxqty = fboxqty;
    }

    public Double getFboxqty() 
    {
        return fboxqty;
    }
    public void setFquaqty(Double fquaqty) 
    {
        this.fquaqty = fquaqty;
    }

    public Double getFquaqty() 
    {
        return fquaqty;
    }
    public void setFbaseqty(Double fbaseqty) 
    {
        this.fbaseqty = fbaseqty;
    }

    public Double getFbaseqty() 
    {
        return fbaseqty;
    }
    public void setFbaseunitid(String fbaseunitid) 
    {
        this.fbaseunitid = fbaseunitid;
    }

    public String getFbaseunitid() 
    {
        return fbaseunitid;
    }
    public void setFbaseunitname(String fbaseunitname) 
    {
        this.fbaseunitname = fbaseunitname;
    }

    public String getFbaseunitname() 
    {
        return fbaseunitname;
    }
    public void setFbillcode(String fbillcode) 
    {
        this.fbillcode = fbillcode;
    }

    public String getFbillcode() 
    {
        return fbillcode;
    }
    public void setFsecuritycode(String fsecuritycode) 
    {
        this.fsecuritycode = fsecuritycode;
    }

    public String getFsecuritycode() 
    {
        return fsecuritycode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fbarcode", getFbarcode())
            .append("fbarcoderule", getFbarcoderule())
            .append("fbarcoderulename", getFbarcoderulename())
            .append("fforbidstatus", getFforbidstatus())
            .append("fmaterialid", getFmaterialid())
            .append("fmaterialname", getFmaterialname())
            .append("funitid", getFunitid())
            .append("funitname", getFunitname())
            .append("fqty", getFqty())
            .append("fcreatedate", getFcreatedate())
            .append("fmodifydate", getFmodifydate())
            .append("fcreateorgid", getFcreateorgid())
            .append("fcreateorgname", getFcreateorgname())
            .append("fstockorgid", getFstockorgid())
            .append("fstockorgname", getFstockorgname())
            .append("fstockid", getFstockid())
            .append("fstockname", getFstockname())
            .append("foutqty", getFoutqty())
            .append("fboxqty", getFboxqty())
            .append("fquaqty", getFquaqty())
            .append("fbaseqty", getFbaseqty())
            .append("fbaseunitid", getFbaseunitid())
            .append("fbaseunitname", getFbaseunitname())
            .append("fbillcode", getFbillcode())
            .append("fsecuritycode", getFsecuritycode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
